/*
 * Class: Song
 * 
 * Created on Sep 26, 2013
 * 
 * (c) Copyright by Minh Tran
 * Global Cybersoft VN.
 * Floor 3-4-5, Helios Building, Quang Trung Software City
 */
package com.minh.tran.sg.model;

/**
 * The Class Song.
 */
public class Song extends AbstractItem
{
    /** The name. */
    private String title;

    /** The singer. */
    private String singer;

    /** The location. */
    private String location;

    /** The image. */
    private String image;

    /**
     * Instantiates a new song.
     *
     * @param info the link
     */
    public Song(final String info)
    {
        super(info);
    }

    /**
     * Gets the link.
     *
     * @return Returns the link.
     */
    public synchronized String getLink()
    {
        return this._info;
    }

    /**
     * Gets the title.
     *
     * @return Returns the title.
     */
    public String getTitle()
    {
        return this.title;
    }

    /**
     * Sets the title.
     *
     * @param title The title to set.
     */
    public void setTitle(String title)
    {
        this.title = title;
    }

    /**
     * Gets the singer.
     *
     * @return Returns the singer.
     */
    public String getSinger()
    {
        return this.singer;
    }

    /**
     * Sets the singer.
     *
     * @param singer The singer to set.
     */
    public void setSinger(String singer)
    {
        this.singer = singer;
    }

    /**
     * Gets the location.
     *
     * @return Returns the location.
     */
    public String getLocation()
    {
        return this.location;
    }

    /**
     * Sets the location.
     *
     * @param location The location to set.
     */
    public void setLocation(String location)
    {
        this.location = location;
    }

    /**
     * Gets the image.
     *
     * @return Returns the image.
     */
    public String getImage()
    {
        return this.image;
    }

    /**
     * Sets the image.
     *
     * @param image The image to set.
     */
    public void setImage(String image)
    {
        this.image = image;
    }

    /**
     * {@inheritDoc}
     * 
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString()
    {
        return "[" + this.title + "]\n[" + this.singer + "]\n[" + this.location + "]\n[" + this._info + "]\n["
                + this.image + "]";
    }
}
